package cn.wolfcode.luowowo.search.service.repository;

import cn.wolfcode.luowowo.search.domain.StrategyTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StrategyTemplateRepository extends ElasticsearchRepository<StrategyTemplate,Long> {
    List<StrategyTemplate> findByThemeId(long themeId);
    List<StrategyTemplate> findByDestName(String destName);
}
